<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include::header"></head>
<body>
  <body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5 > 剩余<span id="bPercent" style="color:blue"></span>权重可分配</h5>
					</div>
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group" th:each="weight :${wList}">
							<input th:name="'list['+${weightStat.index}+'].id'" th:value="${weight.id}" type="hidden">
								<label class="col-sm-3 control-label">角色类型：</label>
								<div class="col-sm-3">
									<input th:name="'list['+${weightStat.index}+'].roleType'" class="form-control"
										type="text" readonly="readonly" th:value="${weight.roleType}">
								</div>
								<label class="col-sm-3 control-label">权重：</label>
								<div class="col-sm-3">
									<input th:name="'list['+${weightStat.index}+'].weight'" class="form-control weight"
										type="text" th:value="${weight.weight}">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-6">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/per/weight/reset.js">
	</script>
</body>
</html>
